package com.example.forum;

import com.example.forum.mapper.UserMapper;
import com.example.forum.model.User;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class test {
    @Autowired
    private UserMapper userMapper;
    @Test
    public void test(){
        User user = userMapper.selectByPrimaryKey(1l);
        System.out.println(user.getPassword());
    }
}
